using UnityEngine;
using System.Collections;

public class GridChecker : MonoBehaviour {

	public GameObject cube;
	public Transform parentThis;
	
	bool truethis = true;
	
	void Start () 
	{

		
	}
	
	void FixedUpdate ()
	{
//		if (truethis)
//		{
//			truethis = false;
//					for (int i = 0; i < 10; i++ )
//		{
//			for ( int j = 0; j < 10; j ++)
//			{
//					
//				Instantiate(cube);//, transform.localPosition, Quaternion.identity);//Vector3(j * 5.0F, i * 5.0f, 0), Quaternion.identity);
//				cube.transform.parent = parentThis;
////				cube.transform.localPosition = new Vector3(j * 5.0F, i * 5.0f, 0);
//			}
//		}
//		}
	}
	
	void DrawTrail ()
	{
		cube.renderer.material.color = Color.black;
	}
	
	
}
